﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BusinessUnitOrgChart
{
    public class BusinessUnit
    {
        public int id;
        public int parentid;
        public string name;
        public string parentname;
        public int level;

        public  BusinessUnit(int i, string n, string p2)
        {
            this.id = i;
            this.name = n;
            this.parentname = p2;
        }

        public BusinessUnit(int i, string n)
        {
            this.id = i;
            this.name = n;

        }
    }
}
